package org.cresource.pet.service;

import org.cresource.basic.service.IBaseService;
import org.cresource.basic.util.PageList;
import org.cresource.pet.domain.Pet;
import org.cresource.pet.domain.SearchMasterMsg;
import org.cresource.pet.query.SearchMasterMsgQuery;
import org.cresource.user.domain.LoginInfo;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg, LoginInfo loginInfo);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> detail(SearchMasterMsgQuery query, Long id);

    void handle(Pet pet,Long loginInfoId);

}
